package com.cn.wanxi.dao;

import com.sun.deploy.util.StringUtils;

import java.util.Arrays;

public class NavDao {
    public static final String[] TITLES = {"网站首页", "公司页面", "新闻介绍"};
    public static final String[] HREFS = {"/home", "/company", "/news"};

    /**
     * 涉及到将数组转换为字符串
     */
    public String[] data = {
            Arrays.toString(TITLES)
            , Arrays.toString(HREFS)
    };

//    public static void main(String[] args) {
//        String aa = StringUtils.join(Arrays.asList(TITLES), "---");
//        System.out.println(aa);
//        Arrays.toString(TITLES);
//    }
}
